import { createDirs, homePath, saveText, uuid } from "@/utils";
import { DEFAULT_EMPTY_WORKFLOW_DATA, WorkflowType } from "../workflow";
import { create } from "@tauri-apps/plugin-fs";
import { dsInsert } from "../datasource";
import { SCHEDULER_TASK_TEMPLATE_CLASS_IDENTIFIER, WORKFLOW_CLASS_IDENTIFIER } from "@/services/constants";


export interface TaskResult {
    id?: number;
    task_identifier: string;
    template_identifier: string;
    variables: string;
    start_time: number;
    end_time: number;
    result: string;
    content_type: string;
    content: string;
    created_at: number;
    updated_at: number;
}